<?php

/**
 * 配置
 */
Route::get('admin/conf/settings', ['as'=> 'admin.conf.settings.index', 'uses' => 'Admin\Conf\SettingController@index']);
Route::post('admin/conf/settings', ['as'=> 'admin.conf.settings.store', 'uses' => 'Admin\Conf\SettingController@store']);
Route::get('admin/conf/settings/create', ['as'=> 'admin.conf.settings.create', 'uses' => 'Admin\Conf\SettingController@create']);
Route::put('admin/conf/settings/{settings}', ['as'=> 'admin.conf.settings.update', 'uses' => 'Admin\Conf\SettingController@update']);
Route::patch('admin/conf/settings/{settings}', ['as'=> 'admin.conf.settings.update', 'uses' => 'Admin\Conf\SettingController@update']);
Route::delete('admin/conf/settings/{settings}', ['as'=> 'admin.conf.settings.destroy', 'uses' => 'Admin\Conf\SettingController@destroy']);
Route::get('admin/conf/settings/{settings}', ['as'=> 'admin.conf.settings.show', 'uses' => 'Admin\Conf\SettingController@show']);
Route::get('admin/conf/settings/{settings}/edit', ['as'=> 'admin.conf.settings.edit', 'uses' => 'Admin\Conf\SettingController@edit']);
// 发布配置项
Route::post('admin/conf/settings/publish', ['as'=> 'admin.conf.settings.write_config', 'uses' => 'Admin\Conf\SettingController@writeConfig']);